package modelo.negocio;

import modelo.negocio.imp.ManagerBolsaImpl;
import modelo.oad.ManagerOAD;
import modelo.oad.impl.ManagerOADImpl;

/**
 * @author  Daniel
 */
public class FactoryManager {

	/**
	 * @uml.property  name="managerBolsa"
	 * @uml.associationEnd  
	 */
	public static ManagerBolsa managerBolsa;
	
	/**
	 * @uml.property  name="managerOAD"
	 * @uml.associationEnd  
	 */
	public static ManagerOAD managerOAD;
	
	/**
	 * @return
	 * @uml.property  name="managerBolsa"
	 */
	public static ManagerBolsa getManagerBolsa() {
		if(managerBolsa == null){
			managerBolsa = new ManagerBolsaImpl();
		}
		return managerBolsa;
	}
	

	
	/**
	 * @return
	 * @uml.property  name="managerOAD"
	 */
	public static ManagerOAD getManagerOAD (){
		if(managerOAD == null){
			managerOAD = new ManagerOADImpl();
		}
		return managerOAD;
	} 
			
}
